home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 July / 07_02.iso / software / xq-xsetup / files / setup.exe / {app} / plugins / XQ Win2K Flash Taskbar 1.xpl < prev    next >
Text File  |  2002-01-03  |  1KB  |  43 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Appearance\Taskbar"
  5. "NAME"="Flash Taskbar Options #1"
  6. "OSVERSION"="000111"
  7. "VERSION"="1.13"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Flash Taskbar Button"
  10. "DESCRIPTION 1"=" When a non-focused window is updated by its program, Windows, by default, flashes the window on the taskbar. To give the window topmost position immediately, Clear [uncheck] the Box."
  11. "DESCRIPTION 2"="To re-enable default, check Box & apply change." 
  12. "AUTHOR"="Ojatex@aol.com"
  13. "CONTACTURL"="http://members.aol.com/ojatex/"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"=" "
  16. "COMMENT 2"="Tip and settings provided by Pierre Szwarc."
  17.  
  18. Sub Plugin_Initialize 
  19.    i=RegReadValue("HKCU\Control Panel\Desktop\ForegroundLockTimeout") 'Dwrd=200000=default
  20.    if i=200000 then SetUIElement 1,true 
  21. End Sub
  22.  
  23. Sub Plugin_CheckData(ElementIndex)
  24. End Sub
  25.  
  26. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  27.  
  28.  b=GetUIElement(1)
  29.  if b=true then
  30.   Call RegWriteValue("HKCU\Control Panel\Desktop\ForegroundLockTimeout","200000",2)
  31.  else
  32.   Call RegWriteValue("HKCU\Control Panel\Desktop\ForegroundLockTimeout","0",2)
  33.  
  34. end if
  35.  
  36. End Sub
  37.  
  38. Sub Plugin_Terminate 
  39. End Sub
  40.  
  41.  
  42.  
  43.